home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / AppleScript / Documentation / Apple Event Registry / Word Services Suite 1.0.4 / WSI Library Source / WordServices.h < prev   
Encoding:
C/C++ Source or Header  |  1993-04-12  |  2.0 KB  |  56 lines  |  [TEXT/KAHL]

  1. /* WordServices.h
  2.  * Interface to Word Services Suite.  Definitions of constants and such.
  3.  * ©1992 Working Software, Inc.
  4.  * This source code is copyrighted.  Permission is granted to use the Word Services
  5.  * portion of the Writeswell Jr. source code in your own programs, but you 
  6.  * may not distribute the Writeswell Jr. word-processor code as a 
  7.  * commercial product.  If you modify the code, please do not call it 
  8.  * Writeswell Jr. (or Writeswell.)  This will ensure that people understand the 
  9.  * program and don’t have to deal with a number of different versions with 
  10.  * who-knows-what going on in the code.
  11.  * 
  12.  * Writeswell Jr. and Writeswell are trademarks of Working Software, Inc.
  13.  * 10 Sep 91 Mike Crawford
  14.  * 17 Mar 93 Mike Crawford    Updated to Beta 2 draft constants
  15.  */
  16.  
  17. /* Apple Events */
  18.  
  19. #define kWordServicesClass            'WSrv'    /* The word services suite class */
  20.  
  21. #define kWSBatchCheckMe                'Btch'    /* Batch check this object */ 
  22.  
  23. #define pBackgroundHilite            'pBgH'    /* Elements that are highlit in background */
  24.  
  25. #define pBatchMenuString            'pBMs'    /* Menu string describing batch processing */
  26.  
  27. #define pInteractiveMenuString        'pIMs'    /* Menu string describing interactive processing */
  28.  
  29. #define pLocation                    'pALc'    /* Alias record giving app's location */
  30.  
  31. #define pLockTransactionID            'pLID'
  32.  
  33. /*#define pCleanText                'pCTx'*/    /* Now obsolete - removed from protocol */
  34.  
  35. #define pMenuIcon                    'pMIc'    /* Small icon for service menu */
  36.  
  37. #define pCanDisjointHilite            'pDjH'    /* If true, client can do disjoint highlighting */
  38.  
  39. #define keyListHead                    'Lhed'
  40.  
  41. #define keyClientAddress            'Cadr'
  42.  
  43. /*#define keyWantCleanReport        'ClRp'*/    /* Now obsolete - removed from protocol */
  44.  
  45. #define kWSCheckWord                'CkWd'    /* Spell check a single word */
  46.  
  47. #define keyWSGuessCount                'GsCt'    /* Number of guesses requested */
  48.  
  49. #define kWSStartInteractive            'SInt'    /* Start interactive spelling session */
  50.  
  51. #define typeSmallIcon                'SICN'    /* Small Icon descriptor type */
  52.  
  53. #define typeColorIcon                'cicn'    /* Color Icon descriptor type */
  54.  
  55.  
  56.